package com.dao;

import java.util.List;

import org.hibernate.Query;

import com.model.User;
import com.util.Pagination;

public interface UserDao {
	
	 public boolean  save(User transientInstance);
	 
	 public void deleteById(int uid);
	 
	 public User merge(User detachedInstance);
	 
	 public User findById( java.lang.Integer id);
	 
	 public List<User> findByExample(User instance);
	 
	 public List findAll();
	 
	 public List<User> getUserList(User user, Pagination page);

	public User editUser(User user);

	public Pagination stuList(Pagination paperPage, String flag);



}
